package com.young.android.communication;

import java.io.IOException;
import java.io.InputStream;
import java.net.URL;

/**
 * 网络操作类
 * 用户获取网络资源
 * @author Young
 *
 */
public class NetResource {
    
    public static InputStream getNetStream(String urlString) throws IOException{
        URL url=new URL(urlString);
        return url.openStream();
    }
    
}
